import { createStore } from 'vuex'
import counter from "./modules/counter.js"
import createPersistedState from 'vuex-persistedstate'
export default createStore({
  modules: {
    counter
  },
  plugins:[
    createPersistedState()
  ]
})